USE [Ejemplos]
GO

/****** Object:  StoredProcedure [dbo].[DetalleObtener]    Script Date: 05/21/2011 08:50:21 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
Create PROCEDURE [dbo].[DetalleObtener]

@Id_Maestro as integer

	
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

   select Id,Id_Maestro,Nombre, Descripcion from dbo.Detalle
   where Id_Maestro = @Id_Maestro
END


GO


